package org.uim.cricket.entities;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;

public class FullGround {

	private String fullName = null;
	private String town = null;
	private String country = null;
	private String id = null;
	private String shortName = null;
	
	private Map<String, String> attribs = new HashMap<String, String>();
	private HashSet<String> homeTeams = new HashSet<String>();
	
	public void addNewAttribute(String key, String value) {
		if (attribs.containsKey(key)) {
			attribs.remove(key);
		}
		attribs.put(key, value);
	}
	
	public void addNewHomeTeam(String theHomeTeam) {
		this.homeTeams.add(theHomeTeam);
	}
	
	public HashSet<String> getHomeTeams() {
		return homeTeams;
	}
	
	public void setHomeTeams(HashSet<String> homeTeams) {
		this.homeTeams = homeTeams;
	}
	
	public void setTown(String town) {
		this.town = town;
	}
	
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	
	public void setCountry(String country) {
		this.country = country;
	}
	
	public void setAttribs(Map<String, String> attribs) {
		this.attribs = attribs;
	}
	
	public String getTown() {
		return town;
	}
	
	public String getShortName() {
		return shortName;
	}
	
	public String getId() {
		return id;
	}
	
	public String getFullName() {
		return fullName;
	}
	
	public String getCountry() {
		return country;
	}
	
	public Map<String, String> getAttribs() {
		return attribs;
	}
	 
	
}
